//
//  M_Member.m
//  YunDongAdmin
//
//  Created by lqq on 2018/9/6.
//  Copyright © 2018年 cloudfighting.com. All rights reserved.
//

#import "M_Member.h"

@implementation M_Member
- (NSString *)pinyin
{
    NSString *result = @"#";
    if (_memberName.length > 0) {
        result = _memberName.pinyin;
    } else if(_memberNickname.length > 0) {
        result = _memberNickname.pinyin;
    }
    if (result.length < 1) {
        result = @"#";
    }
    result = [result lowercaseString];
    return  result;
}

- (NSString *)memberName
{
    if (_memberName.length > 0) {
        return _memberName;
    }else {
        return _memberNickname;
    }
}
@end

@implementation M_MemberDetail

@end


@implementation M_CardTimesConsumeMonth

@end

@implementation M_ScheduleMemberDTO

@end

